import 'package:flutter/cupertino.dart';
import 'package:study_flutter/syh/SyhHomePage.dart';

class SConstant{


  /*创建路由表*/
  static Map<String, WidgetBuilder> getSyhRoutes(BuildContext context) {
    var routesMap = new Map<String, WidgetBuilder>();
   // routesMap[SYH_HOME_PAGE] = (context) => SyhHomeRoute();
    routesMap[SYH_HOME_PAGE] = (context) => MyApp();
    return routesMap;

  }

  /*设置路由跳转常量*/
  static String SYH_HOME_PAGE = "syh_page";
}